layui.use(['LDLayout'], function(){
    var LDLayout = layui.LDLayout;
    // 设置中间内容区 最小高度
    LDLayout.setMinHeight();
    $(window).on('resize', LDLayout.setMinHeight);

    $('#collapse_hook').on({
        click: function () {
            $('#collapse_content').toggleClass('collapse-in')
        }
    })
});

